package com.xerland.tbootstrap.model;

/**
 * Fileame: com.xerland.tbootstrap.ui
 * Desription:
 * Class and methods:
 * <p>
 * Author: Anson Chan
 * Copyright: 2016 Xerland Co. Ltd. All rights reserved.
 * Contact:    anson_chan@xerland.com
 * Deffield    updated: Updated
 */
public class RealTimeData {
    private int mMachID;
    private String mSaveTime;
    private double mSetTemp;
    private double mActTemp;
    private double mSetHumi;
    private double mActHumi;
    private double mSetAir;
    private double mActAir;
    private double mHeatOut;
    private double mHumiOut;
    private double mActTemp1;
    private double mActTemp2;
    private double mActTemp3;
    private double mActHumi1;
    private String mRemark;
    private int mDeviceState;
    private int mRunSwitch;
    private int mRunProgramNo;
    private int mCurCycNum;
    private int mRunSegNo;
    private int mSegRunTime;
    private int mCurCycNo;
    private int mRunTime;

    public RealTimeData(
            int mMachID,
            String mSaveTime,
            double mSetTemp,
            double mActTemp,
            double mSetHumi,
            double mActHumi,
            double mSetAir,
            double mActAir,
            double mHeatOut,
            double mHumiOut,
            double mActTemp1,
            double mActTemp2,
            double mActTemp3,
            double mActHumi1,
            String mRemark,
            int mDeviceState,
            int mRunSwitch,
            int mRunProgramNo,
            int mCurCycNum,
            int mRunSegNo,
            int mSegRunTime,
            int mCurCycNo,
            int mRunTime
    ) {
        this.mMachID = mMachID;
        this.mSaveTime = mSaveTime;
        this.mSetTemp = mSetTemp;
        this.mActTemp = mActTemp;
        this.mSetHumi = mSetHumi;
        this.mActHumi = mActHumi;
        this.mSetAir = mSetAir;
        this.mActAir = mActAir;
        this.mHeatOut = mHeatOut;
        this.mHumiOut = mHumiOut;
        this.mActTemp1 = mActTemp1;
        this.mActTemp2 = mActTemp2;
        this.mActTemp3 = mActTemp3;
        this.mActHumi1 = mActHumi1;
        this.mRemark = mRemark;
        this.mDeviceState = mDeviceState;
        this.mRunSwitch = mRunSwitch;
        this.mRunProgramNo = mRunProgramNo;
        this.mCurCycNum = mCurCycNum;
        this.mRunSegNo = mRunSegNo;
        this.mSegRunTime = mSegRunTime;
        this.mCurCycNo = mCurCycNo;
        this.mRunTime = mRunTime;
    }


    public RealTimeData(
            int mMachID,
            String mSaveTime,
            double mSetTemp,
            double mActTemp,
            double mSetHumi,
            double mActHumi
    ) {
        this.mMachID = mMachID;
        this.mSaveTime = mSaveTime;
        this.mSetTemp = mSetTemp;
        this.mActTemp = mActTemp;
        this.mSetHumi = mSetHumi;
        this.mActHumi = mActHumi;
        this.mSetAir = 0;
        this.mActAir = 0;
        this.mHeatOut = 0;
        this.mHumiOut = 0;
        this.mActTemp1 = 0;
        this.mActTemp2 = 0;
        this.mActTemp3 = 0;
        this.mActHumi1 = 0;
        this.mRemark = "";
        this.mDeviceState = 0;
        this.mRunSwitch = 0;
        this.mRunProgramNo = 0;
        this.mCurCycNum = 0;
        this.mRunSegNo = 0;
        this.mSegRunTime = 0;
        this.mCurCycNo = 0;
        this.mRunTime = 0;
    }

    public int getMachID() {
        return mMachID;
    }

    public String getSaveTime() {
        return mSaveTime;
    }

    public double getSetTemp() {
        return mSetTemp;
    }

    public double getActTemp() {
        return mActTemp;
    }

    public double getSetHumi() {
        return mSetHumi;
    }

    public double getmActHumi() {
        return mActHumi;
    }

    public void setMachID(int machID) {
        this.mMachID = machID;
    }

    public void setSaveTime(String saveTime) {
        this.mSaveTime = saveTime;
    }

    public void setSetTemp(double setTemp) {
        this.mSetTemp = setTemp;
    }

    public void setActTemp(double actTemp) {
        this.mActTemp = actTemp;
    }

    public void setSetHumi(double setHumi) {
        this.mSetHumi = setHumi;
    }

    public void setmActHumi(double actHumi) {
        this.mActHumi = actHumi;
    }
}



















